package com.njtoyo.taxi.admin.rest.wrapper.business.company;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("新增公司模型")
@Data
public class CompanyAddWrtapper {

    private String name;

    @ApiModelProperty(value = "名字全称")
    private String fullName;

    @ApiModelProperty(value = "公司地址")
    private String address;

    @ApiModelProperty(value = "负责人")
    private String personInCharge;

    @ApiModelProperty(value = "联系电话")

    private String contactNumber;

    @ApiModelProperty(value = "行政区ID")
    @NotNull(message = "行政区ID不能为空")
    private Long cantonId;

    @ApiModelProperty(value = "司机运营区ID")
    @NotNull(message = "司机运营区ID不能为空")
    private Long driverRegionId;
}
